#ifndef LICENSEDIALOG_H
#define LICENSEDIALOG_H

#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QLineEdit>

class LicenseDialog : public QDialog
{
    Q_OBJECT

public:
    explicit LicenseDialog(QWidget *parent = nullptr);

private slots:
    void activateLicense();
    void purchaseLicense();
    void updateLicenseInfo();

private:
    QLabel* m_statusLabel;
    QLabel* m_hardwareIdLabel;
    QLineEdit* m_licenseKeyEdit;
    QPushButton* m_activateButton;
    QPushButton* m_purchaseButton;
    QPushButton* m_closeButton;
    
    void setupUI();
    void createConnections();
};

#endif // LICENSEDIALOG_H 